﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="WUCComment.ascx.cs" Inherits="FDeal.WUC.WUCComment" %>
<asp:GridView ID="gvTinKM" runat="server" AllowPaging="True" 
    AutoGenerateColumns="False" BackColor="#CCCCFF" DataKeyNames="IDCOMMENT" 
    onrowcancelingedit="gvTinKM_RowCancelingEdit1" 
    onrowdeleting="gvTinKM_RowDeleting1" onrowediting="gvTinKM_RowEditing1" 
    onrowupdating="gvTinKM_RowUpdating1" Width="651px">
    <Columns>
        <asp:TemplateField HeaderText="Mã Comment">
            <EditItemTemplate>
                <asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("IDCOMMENT") %>' 
                    Width="100px"></asp:TextBox>
            </EditItemTemplate>
            <ItemTemplate>
                <asp:Label ID="Label1" runat="server" Text='<%# Bind("IDCOMMENT") %>'></asp:Label>
            </ItemTemplate>
        </asp:TemplateField>
        <asp:TemplateField HeaderText="ID Tài Khoảng">
            <EditItemTemplate>
                <asp:TextBox ID="TextBox2" runat="server" Text='<%# Bind("IDTAIKHOAN") %>' 
                    Width="100px"></asp:TextBox>
            </EditItemTemplate>
            <ItemTemplate>
                <asp:Label ID="Label2" runat="server" Text='<%# Bind("IDTAIKHOAN") %>'></asp:Label>
            </ItemTemplate>
        </asp:TemplateField>
        <asp:TemplateField HeaderText="Nội Dung">
            <EditItemTemplate>
                <asp:TextBox ID="TextBox3" runat="server" Text='<%# Bind("NOIDUNG") %>' 
                    TextMode="MultiLine" Width="159px"></asp:TextBox>
            </EditItemTemplate>
            <ItemTemplate>
                <asp:Label ID="Label5" runat="server" Text='<%# Bind("NOIDUNG") %>'></asp:Label>
            </ItemTemplate>
        </asp:TemplateField>
        <asp:TemplateField HeaderText="Thời Gian">
            <EditItemTemplate>
                <asp:TextBox ID="TextBox4" runat="server" Text='<%# Bind("NGAY") %>' 
                    Width="120px"></asp:TextBox>
            </EditItemTemplate>
            <ItemTemplate>
                <asp:Label ID="Label3" runat="server" Text='<%# Bind("NGAY") %>'></asp:Label>
            </ItemTemplate>
        </asp:TemplateField>
        <asp:CommandField ButtonType="Image" CancelImageUrl="~/images/cancel.png" 
            EditImageUrl="~/images/Edit.png" ShowEditButton="True" 
            UpdateImageUrl="~/images/update.png" />
        <asp:CommandField ButtonType="Image" DeleteImageUrl="~/images/Delete.png" 
            ShowDeleteButton="True" />
    </Columns>
</asp:GridView>




